<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<c:if test="${!empty messages}">
	<div id="messages">
		<c:forEach var="message" items="${messages}">
			<div id="message">
				<c:if test="${!empty message.icon}">
					<div style="float: left">
						<img src="img/<c:out value="${message.icon}"/>.gif" align="middle"/>
					</div>
				</c:if>
				<div><c:out value="${message.message}"/></div>
			</div>
		</c:forEach>
	</div>
</c:if>